package gameManager;

import java.awt.Point;

/**
 * AmmunitionObject is the superclass for any kind of bullet shot by an NPC.
 *
 */
public abstract class AmmunitionObject extends NonPlayerCharacter {

    private int ammoPower;

    /**
     * Constructor.
     * @param startPosition the beginning location for the ammo
     * @param direction the direction the ammo should move in
     */
    public AmmunitionObject(Point startPosition, int direction) {
        super(startPosition, direction);
    }

    /**
     * Sets the power level of the ammo object.
     * @param ammunitionPower new power for the ammo
     */
    public void setPower(int ammunitionPower) {
        ammoPower = ammunitionPower;
    }

    /**
     * Gets the power of the ammo.
     * @return current power
     */
    public int getAmmunitionPower() {
        return ammoPower;
    }

    /**
     * Anything special (graphics, sound, etc.) that occurs when the
     * shot is destroyed.
     */
    public void destroy() {
    }
 }
